cmake_minimum_required(VERSION 3.1)
project(DESIGN-MODE)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_C_STANDARD 99)

include_directories(${PROJECT_SOURCE_DIR})

add_executable(01-FactoryMethod 01-FactoryMethod.cpp)
add_executable(02-AbstractFactory 02-AbstractFactory.cpp)
add_executable(03-Builder 03-Builder.cpp)
add_executable(04-Prototype 04-Prototype.cpp)
add_executable(05-Singleton 05-Singleton.cpp)
add_executable(06-Adapter 06-Adapter.cpp)
add_executable(07-Bridge 07-Bridge.cpp)
add_executable(08-Composite 08-Composite.cpp)
add_executable(09-Decorator 09-Decorator.cpp)
add_executable(10-Facade 10-Facade.cpp)
add_executable(11-Flyweight 11-Flyweight.cpp)
add_executable(12-Proxy 12-Proxy.cpp)
add_executable(13-responsibility 13-responsibility.cpp)
add_executable(14-Command 14-Command.cpp)
add_executable(15-interpreter 15-interpreter.cpp)
add_executable(16-Iterator 16-Iterator.cpp)
add_executable(17-Mediator 17-Mediator.cpp)
add_executable(18-Memento 18-Memento.cpp)
add_executable(19-Observer 19-Observer.cpp)
add_executable(20-State 20-State.cpp)
add_executable(21-Strategy 21-Strategy.cpp)
add_executable(22-Template 22-Template.cpp)
add_executable(23-Visitor 23-Visitor.cpp)
add_executable(24-NullObject 24-NullObject.cpp)



